//
//  MTSettingRowItem.h
//  ShiShiBang
//
//  Created by 宋宝强 on 16/9/19.
//  Copyright © 2016年 motianjituan. All rights reserved.
//


typedef enum : NSUInteger {
    MTRowItemTypeArrow,
    MTRowItemTypeSwitch,
    MTRowItemTypeText,
} MTRowItemType;

#import <Foundation/Foundation.h>

typedef void(^SettingItemOption)();

@interface MTSettingRowItem : NSObject

/** 图片 */
@property (nonatomic, strong) UIImage *image;
/** 标题 */
@property (nonatomic, strong) NSString *title;
/** 子标题 */
@property (nonatomic, strong) NSString *detailT;

@property(nonatomic,copy)NSString *subtitle;
@property(nonatomic,copy)SettingItemOption option;

+ (instancetype)itemWithImage:(UIImage *)image title:(NSString *)title;

+ (instancetype)itemWithItem:(UIImage *)image title:(NSString *)title subtitle:(NSString *)subtitle;
@end
